#ifndef _GsWinceEx_H_
#define _GsWinceEx_H_

#ifndef WINCE
	#error "must complier under ce"
#endif

#include <Windows.h>
#include <math.h>

#define ALTERNATE 1

#define cosf cos
#define sinf sin

int stricmp(const char *s1, const char *s2);

int strnicmp(const char *s1, const char *s2, size_t n);

char *strdup(const char *s);

#define MulDiv(a,b,c)       ((((a)/(double)(c))*(b)))


HRGN WINAPI CreatePolygonRgn( __in_ecount(cPoint) CONST POINT *pptl, __in int cPoint, __in int iMode);

#endif